{{ $person := (dict
"@context" "https://schema.org"
"@type" "Person"
"mainEntityOfPage" (.Permalink)
"name" (.Title)
"alternateName" (.Page.Params.info.alternateName)
"gender" (.Page.Params.info.gender)
"birthDate" (.Page.Params.info.birthDate)
"birthPlace" (dict
"@type" "Place"
"address" (dict
"@type" "PostalAddress"
"addressLocality" (.Page.Params.info.birthPlace.city)
"addressRegion" (.Page.Params.info.birthPlace.region)
"addressCountry" (.Page.Params.info.birthPlace.country)
))
"address" (dict
"@type" "PostalAddress"
"addressLocality" (.Page.Params.info.address.city)
"addressRegion" (.Page.Params.info.address.region)
"addressCountry" (.Page.Params.info.address.country)
)
"image" (printf "https://gravatar.com/avatar/%s?s=%d" ((.Page.Params.info.email) | md5) (512))
"jobTitle" (.Page.Params.info.job)
"email" (.Page.Params.info.email)
"telephone" (.Page.Params.info.telephone)
"url" (.Page.Params.info.url)
"award" (.Page.Params.info.awards)
"sameAs" (.Page.Params.info.sameAs)
) }}

{{ return ($person) }}
